money = eval(input("请输入一个数额："))
rate = eval(input("请输入一个年收益率："))
month = eval(input("请输入月份："))

print("月份","收益")
for i in range(1,month+1):
    money = money + money * rate/1200
    print(i,format(money,".3f"))